﻿@using Project.Constraints.UI.Flyout
@using System.Text.Json
@using System.Text.Unicode
@inherits DialogTemplate<ClientInfo>

<pre>
    @JsonValue
</pre>
<pre>
    UserAgent: @Value?.UserAgent
</pre>

@code {
    string JsonValue => JsonSerializer.Serialize(Value?.UserInfo, new JsonSerializerOptions()
        {
            WriteIndented = true,
            Encoder = System.Text.Encodings.Web.JavaScriptEncoder.Create(UnicodeRanges.All)
        });
}
